package com.freewater.library.catalogue.model;

import com.freewater.library.common.domain.Repository;

import java.util.Optional;

public interface BookRepository extends Repository {
    void save(Book book);

    boolean exists(String isbn);

    void delete(Book book);

    Optional<Book> findById(String isbn);
}
